function checkTemplate(){
	var template = document.getElementById("template");
	if(template.value==""||template.value==null)
	{
		alert('上传文件不能为空');
		return false;
	}
	openIframe()
	return true;
}
function openIframe(){
	openDiv("upload_contant");
	openDiv("mask");
}
function closeTemplate(){
	document.template_upload.reset();
	document.getElementById("uploadFrame").setAttribute('src','../admin/adminResult.jsp');
	closeDiv("upload_contant");
	closeDiv("mask");
	dojo.event.topic.publish("showTemplate");
}
function openDelete(){
	openDiv("delete_contant");
	openDiv("mask");
}
function closeDelete(){
	closeDiv("delete_contant");
	closeDiv("mask");
	dojo.event.topic.publish("showTemplate");
}